<?php
namespace app\mchance\controller;

use app\chance\model\ChanceModel;
use app\common\base\BasicRest;
use think\Request;

class Mchance extends  BasicRest
{
    public function index(){
        $res = ChanceModel::all();
        return $this->fetch('index',['chance'=>$res]);
    }
}
